﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace UI.Desktop
{
    public partial class PortadaDesktop : Form
    {
        public PortadaDesktop()
        {
            InitializeComponent();
        }

        private void PortadaDesktop_Load(object sender, EventArgs e)
        {
            btnContinuar.Focus();
        }

        private void btnContinuar_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            LoginDesktop login = new LoginDesktop();
            login.Show();
        }

        private void tsmSalir_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Gracias por usar la aplicación", "Salir",
               MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        private void PortadaDesktop_FormClosing(object sender, FormClosingEventArgs e)
        {
            MessageBox.Show("Gracias por usar el Sistema de Gestión Académica", "Salir",
               MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
    }
}
